package com.quanyan.user.mapper;

import com.quanyan.user.model.db.TbBannerUpdate;
import com.quanyan.user.model.db.TbBannerUpdateExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TbBannerUpdateMapper {
    int countByExample(TbBannerUpdateExample example);

    int deleteByExample(TbBannerUpdateExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbBannerUpdate record);

    int insertSelective(TbBannerUpdate record);

    List<TbBannerUpdate> selectByExampleWithBLOBs(TbBannerUpdateExample example);

    List<TbBannerUpdate> selectByExample(TbBannerUpdateExample example);

    TbBannerUpdate selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbBannerUpdate record, @Param("example") TbBannerUpdateExample example);

    int updateByExampleWithBLOBs(@Param("record") TbBannerUpdate record, @Param("example") TbBannerUpdateExample example);

    int updateByExample(@Param("record") TbBannerUpdate record, @Param("example") TbBannerUpdateExample example);

    int updateByPrimaryKeySelective(TbBannerUpdate record);

    int updateByPrimaryKeyWithBLOBs(TbBannerUpdate record);

    int updateByPrimaryKey(TbBannerUpdate record);
}